def fwwy():
	global inputkuang
	a=inputkuang.get()
	webbrowser.open_new_tab(a)
anew_window=tk.Toplevel(root)
anew_window.title("浏览器")
anew_window.geometry("600x400")
label = tk.Label(anew_window, text='输入网页前往')
label.pack()
inputkuang = ttk.Entry(anew_window, width=30)
inputkuang.pack(pady=10)
button = ttk.Button(anew_window, text='搜索（查找）', command=fwwy)
button.pack(pady=10)